package com.trainmail.trainmail.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1.整合Mybatis-plus
 *
 * 2.配置MYBATIS-PLUS
 *  1.配置数据源:
 *  2.yaml配置
 *  3.mapperScanner
 *  4.映射文件路径配置
 *  5.设置主键自增
 */
@MapperScan("com.trainmail.trainmail.product.dao")
@SpringBootApplication
public class TrainmailProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(TrainmailProductApplication.class, args);
    }

}
